<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>登录</title>
<script type="text/javascript" src="/js/jquery-1.7.2.min.js"></script>
<link href="/css/base.css" type="text/css" rel="stylesheet" />
<link href="/css/manage.css" type="text/css" rel="stylesheet" />
<!--[if ie]><link href="/css/ie.css" type="text/css" rel="stylesheet"><![endif]-->
</head>

<body>
	<!-- head -->
   <?php $this->load->view('head')?>
    </div>
    <!-- head--end-->
    
    <!-- nav_tit -->
    <div class="w100p">
    	<div class="w903 mg">
        	<div class="nav_tit">
            	小时候的胡同，现在的马路？大商场的繁华，街边小店的幽静，你更喜欢哪个？来吧，我们一起走街串店.......
            </div>
        </div>
    </div>
    <!-- nav_tit--end-->
    
    <!-- body -->
    <div class="w100p mb20">
    	<div class="w903 mg">
        	<div class="box_s1">
            	<div class="b_head"></div>
                <div class="content lr_pd_s1">
                	<div class="login_box">
                    	<h3 class="title">登录</h3>
                    	<div class="box_s4 login">
                        	<div class="b_head"></div>
                            <div class="content">
                            	<form action="<?php echo site_url('member/login')?>?gourl=<?php echo $gourl?>" method="post">
                                <table class="com_form">
                                    <tr>
                                        <td width="50" class="col1">邮箱</td><td><input type="text" name="email" class="def_txt_s1" /><br class="clear" /><span class="validate" id="error_msg" ><?php if(isset($errorMsg)) echo $errorMsg?></span></td>
                                    </tr>
                                    <tr>
                                        <td width="50" class="col1">密码</td><td><input type="password" name="password" class="def_txt_s1" /></td>
                                    </tr>
                                    <tr>
                                        <td width="50" class="col1">验证码</td><td><input type="text" name="captcha" class="def_txt_s2" /><img src="<?php echo $cap['image'] ?>" class="yzm" id="captcha_img" class="yzm" style="margin-top: 2px;cursor: pointer;"/><span class="tip">点击图片换一张</span></td>
                                    </tr>
                                    <tr>
                                        <td width="50" class="col1"></td><td><input type="submit" value="登录" class="def_btn_s5 mr10" /><a href="#" class="forget ml10">忘记密码？</a></td>
                                    </tr>
                                </table>
                                </form>
                                <div class="other_ope">
                                	<a href="<?php echo base_url('member/toreg')?>">还没注册？</a><img src="/images/common/sperate_2.jpg" /><a href="<?php echo base_url('member/toreg')?>">免费注册</a>
                                </div>
                            </div>
                            <div class="b_foot"></div>
                        </div>
                    </div>
                    
                </div>
                <div class="b_foot"></div>
            </div>
        </div>
    </div>
    
    <!-- body--end-->
    
    <!-- foot-->
    <?php $this->load->view('foot')?>
    <!-- foot--end-->	
    <script type="text/javascript">
    	$(function(){
			$("#captcha_img").click(function(){
				$.post("<?php echo site_url("member/loadcap")?>",function(data){
						var ret = $.parseJSON(data);
						$("#captcha_img").attr("src",ret.image);
					});
			});
        })
    </script>
</body>
</html>
